/**
 * Copyright &copy; 2012-2016   All rights reserved.
 */
package com.kingeid.website.modules.slideshow.entity;

import org.hibernate.validator.constraints.Length;

import com.kingeid.framework.common.persistence.DataEntity;

/**
 * 轮播图管理Entity
 * @author lanjh
 * @version 2019-05-17
 */
public class WebsiteSlideshow extends DataEntity<WebsiteSlideshow> {
	
	private static final long serialVersionUID = 1L;
	private String ssType;		// 首页
	private String ssPath;		// ss_path
	private String ssDesc;		// ss_desc
	private String ssLink;		// ss_link
	private String sort;		// 排序
	private String ssBgimg;		// ss_bgimg
	private String ssTitle;		// ss_title
	
	public WebsiteSlideshow() {
		super();
	}

	public WebsiteSlideshow(String id){
		super(id);
	}

	@Length(min=1, max=2, message="首页长度必须介于 1 和 2 之间")
	public String getSsType() {
		return ssType;
	}

	public void setSsType(String ssType) {
		this.ssType = ssType;
	}
	
	@Length(min=0, max=255, message="ss_path长度必须介于 0 和 255 之间")
	public String getSsPath() {
		return ssPath;
	}

	public void setSsPath(String ssPath) {
		this.ssPath = ssPath;
	}
	
	@Length(min=0, max=255, message="ss_desc长度必须介于 0 和 255 之间")
	public String getSsDesc() {
		return ssDesc;
	}

	public void setSsDesc(String ssDesc) {
		this.ssDesc = ssDesc;
	}
	
	@Length(min=0, max=255, message="ss_link长度必须介于 0 和 255 之间")
	public String getSsLink() {
		return ssLink;
	}

	public void setSsLink(String ssLink) {
		this.ssLink = ssLink;
	}
	
	public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		this.sort = sort;
	}
	
	@Length(min=0, max=255, message="ss_bgimg长度必须介于 0 和 255 之间")
	public String getSsBgimg() {
		return ssBgimg;
	}

	public void setSsBgimg(String ssBgimg) {
		this.ssBgimg = ssBgimg;
	}
	
	@Length(min=0, max=200, message="ss_title长度必须介于 0 和 200 之间")
	public String getSsTitle() {
		return ssTitle;
	}

	public void setSsTitle(String ssTitle) {
		this.ssTitle = ssTitle;
	}
	
}